//
//  myNewsCell.m
//  doubleEduStudents
//
//  Created by 盛洋 on 2021/1/13.
//  Copyright © 2021 shengYang. All rights reserved.
//

#import "myNewsCell.h"

@implementation myNewsCell

- (void)awakeFromNib {
    [super awakeFromNib];
    APPViewBorderRadius(self.back_view, 10, 0, [UIColor clearColor]);
    [self.back_view insertSubview:self.back_img atIndex:0];
    self.title_lab.font = AutoLabFont2;
    self.content_lab.font = AutoLabFont3;
}

-(void)setModel:(NewsModel *)model{
    _title_lab.text = [NSString stringWithFormat:@"%@",model.title];
    _content_lab.text = [NSString stringWithFormat:@"%@",model.content];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
